home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-12-13 | 1.3 KB | 53 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="2"
- "UIPATH"="System\Advanced System Settings"
- "NAME"="COM Download Options"
- "VERSION"="1.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Allow downloads of COM (ActiveX) objects for active user"
- "TEXT 2"="Allow downloads of COM (ActiveX) objects for all users"
- "DESCRIPTION 1"="By default, Windows is able to download COM (ActiveX) DLLs or EXE files from the internet."
- "DESCRIPTION 2"="In some cases, this can be a huge security risk so this can be deactivated here."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sV1="HKCU\Software\Policies\Microsoft\Windows\App Management\COMClassStore" 'DW
- sV2="HKLM\Software\Policies\Microsoft\Windows\App Management\COMClassStore" 'DW
-
- Sub Plugin_Initialize
- i=RegReadValue(sV1)
- if i=1 or IsEmpty(i) then setuielement 1,true
-
- i=RegReadValue(sV2)
- if i=1 or IsEmpty(i) then setuielement 2,true
-
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- v=1
- else
- v=0
- end if
- Call RegWriteValue(sV1,v,2)
-
- if GetUIElement(2)=true then
- v=1
- else
- v=0
- end if
- Call RegWriteValue(sV2,v,2)
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-